home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 1.iso / games / yowsrc12.zip / YOW.H < prev    next >
C/C++ Source or Header  |  1991-09-11  |  1KB  |  64 lines

  1. //
  2. // YOW.H - Yow internal header information
  3. //
  4.  
  5. #ifndef RC_INVOKED
  6.  
  7. #include <stdlib.h>
  8. #include <ctype.h>
  9. #include <string.h>
  10. #include <winext.h>
  11.  
  12. //
  13. // typedefs and defines
  14. //
  15.  
  16. #define YOW_STYLE (DT_CENTER | DT_NOPREFIX | DT_WORDBREAK)
  17. #define CreateScreenDC() CreateDC( "DISPLAY", NULL, NULL, NULL )
  18. #define FILENAME_SIZE 256
  19.  
  20. //
  21. // prototypes
  22. //
  23.  
  24. // yow.c
  25. LONG FAR PASCAL EXPORT YowWndProc( HWND hWnd, WORD mess, WORD wParam, LONG lParam );
  26. INT FAR PASCAL WinMain( HANDLE hInstance, HANDLE hPrevInstance, LPSTR lpszCmdLine, INT nCmdShow );
  27.  
  28. // yowfncs.c
  29. VOID FAR PASCAL Yow( INT nVirtKey );
  30.  
  31. // yowdlgs.c
  32. VOID FAR PASCAL SetYowOptions( HWND hWnd );
  33. VOID FAR PASCAL YowHelp( HWND hWnd );
  34. VOID FAR PASCAL AboutYow( HWND hWnd );
  35.  
  36. // yowsupp.c
  37. BOOL FAR PASCAL CreateYowClass( VOID );
  38. HWND FAR PASCAL CreateYowWindow( INT nCmdShow );
  39. VOID FAR PASCAL SetYowDBase( LPSTR lpszFile );
  40.  
  41. #endif // RC_INVOKED
  42.  
  43. //
  44. // resource IDs
  45. //
  46.  
  47. #define IDI_YOW             1
  48.  
  49. #define IDS_NAME            2
  50. #define IDS_PRPDEFDBASE     3
  51. #define IDS_DEFDBASE        4
  52. #define IDS_PRPDEFENDCHAR   5
  53. #define IDS_DEFENDCHAR      6
  54.  
  55. #define IDM_OPTIONS         10
  56. #define IDM_ABOUT           11
  57.  
  58. #define IDD_OPTIONS         100
  59. #define IDD_O_DBASE         101
  60. #define IDD_O_ENDCHAR       102
  61.  
  62. #define IDD_ABOUT           200
  63. #define IDD_A_HELP          201
  64.